<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" href="{{asset('static/bootstrap/css/bootstrap.min.css')}}">
    <script src="{{asset('static/jquery/jquery.min.js')}}"></script>
    <script src="{{asset('static/bootstrap/js/bootstrap.min.js')}}"></script>
    <script>
        $('body').scrollspy({ target: '.navbar-example' });
    </script>
    <style>
        .container-fluid{
            padding-right: 0px;
            padding-left: 0px;
        }
        .row{
            margin:0;
        }
    </style>
    <title>添加新游戏曹新纪</title>
</head>
<body>
    <div class="container-fixed">
        <div class="row">
            @extends('other/header')
        </div>
        <div class="row" style="margin-top:30px">
            <div class="col-md-12 text-center">
                <h1>添加新游戏</h1>
                <form name="" action="{{url('gameshop/addGame')}}" method="post" onsubmit="return pd()">
                    {{ csrf_field() }}
                    游戏名称：<input type="text" name="gameshop[name]" required="required"></input><br><br>
                    游戏价格：<input type="text" name="gameshop[jiage]" required="required">元</input><br><br>
                    游戏评分：<input type="radio" name="gameshop[one]" value="1" >1</input>
                        <input type="radio" name="gameshop[one]" value="2">2</input> 	
                        <input type="radio" name="gameshop[one]" value="3">3</input>
                        <input type="radio" name="gameshop[one]" value="4">4</input>
                        <input type="radio" name="gameshop[one]" value="5">5</input><br><br>
                    游戏大小：<input type="text" name="gameshop[mm]" required="required">GB</input><br><br>
                    游戏平台：
                    <select name="gameshop[qz]" style="width: 165px;">
                        <option select value="">--请选择平台--</option>
                        <option value="Steam">Steam</option>
                        <option value="WeGame">WeGame</option>
                        <option value="Xbox">Xbox</option>
                        <option value="switch">switch</option>
                        <option value="网易">网易</option>
                        <option value="暴雪战网">暴雪战网</option>
                    </select><br><br>
                    游戏描述：<textarea cols="40" rows="5" name="gameshop[ms]" style="a"></textarea><br><br>
                    发行日期：<input type="date" name="gameshop[sj]"></input><br><br>
                    游戏类型：<br>
                    <input type="checkbox" name='my[]' value="合作游戏">合作游戏</input><br>
                    <input type="checkbox" name='my[]' value="单人游戏">单人游戏</input><br>
                    <input type="checkbox" name='my[]' value="多人游戏">多人游戏</input><br>
                    <input type="checkbox" name='my[]' value="益智游戏">益智游戏</input><br>
                    <input type="checkbox" name='my[]' value="闯关游戏">闯关游戏</input><br><br>
                    支持语言：<br>
                    <input type="checkbox" name='mye[]' value="简体中文">简体中文</input><br>
                    <input type="checkbox" name='mye[]' value="English">English</input><br>
                    <input type="checkbox" name='mye[]' value="俄语">俄语</input><br><br>

                    游戏图片：<input type="file" accept="image/*" style="margin-left:700px" multiple onchange="uploadImg()" name="gameshop[file]"><br>
                        <span style="font-size: 10px;">请上传JPG正方形图片以获得最佳效果</span><br><br>         
                    <button type="submit" class="btn btn-success bt" aria-hidden="true">提交</button>
                    <button type="reset" class="btn btn-warning bt" aria-hidden="true">重置</button>
                </form>
            </div> 
        </div>
    </div>     
</body>
</html>